<?php $this->import('Header') ?>
    <div id="body">
        <div class="container-full">
            <div class="in-banner"><img src="/images/news.png"></div>
        </div>
        <div class="container">
            <?php \Controller\UC\Left::instance()->run(array('categoryInfo' => $categoryInfo, 'categoryId' => $categoryId)) ?>
            <div class="in-content">
                <div class="tit">
                    <strong class="name"><?php echo $categoryInfo['CategoryName'] ?></strong>
                <span class="desc">
                    <?php echo $categoryInfo['Desc'] ?>
                </span>
                </div>

                <div class="news-list">
                    <?php foreach ($articleList as $val) { ?>
                        <div class="item">
                            <div class="news-date-div">
                                <div class="news-day"><?php echo date('m/d', $val['CreateTime']) ?></div>
                                <div class="news-year"><?php echo date('Y', $val['CreateTime']) ?></div>
                            </div>
                            <a href="/Article/Detail?id=<?php echo $val['Id'] ?>" class="news-text-div">
                                <div class="news-text-title"><?php echo $val['Name'] ?></div>
                                <div class="news-text-p"><?php echo \Lib\Util\Comm::truncate($val['Title'], 200) ?></div>
                            </a>
                            <br class="clear">
                        </div>
                    <?php } ?>
                </div>
                <?php \Controller\UC\Pager::instance()->run(array('pager' => $pager)) ?>
            </div>
        </div>
    </div>
<?php $this->import('Footer') ?>